package com.dnzx.schedule;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class EcheduleTimer {

	private Logger log = LoggerFactory.getLogger(EcheduleTimer.class);
	
//	@Scheduled(cron="0 0 0 1 * ?")//每月1日的凌晨0点执行一次
	@Scheduled(cron="0 59 1 * * ?")// Test
	public void test(){
//		try{
//			this.settleClient.generateSettle();// 生成结算信息
//		}catch (Exception e) {
//			e.printStackTrace();
//		}
	}
	
}
